package com.usian.config;

import com.github.pagehelper.PageInfo;
import com.usian.shop.entity.Log;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "springcloud-provider")
public interface FeignLog {
    @RequestMapping("/log/findAll")
    public PageInfo findAll(@RequestParam("pageNum")Integer pageNum, @RequestParam("pageSize")Integer pageSize, @RequestBody Log log);
}
